
"function" != typeof String.prototype.endsWith && (String.prototype.endsWith = function(a) {
    return -1 !== this.indexOf(a, this.length - a.length)
});

function show(a) {
    layer.open({
        type: 2,
        title: !1,
        shadeClose: !0,
        shade: .8,
        area: ["100%", "100%"],
        content: ""
    })
}
$(function() {
//todo

});
$(function() {
    $('[click-type="copy"]').each(function() {
        var clipboard = new Clipboard(this);
        clipboard.on('success', function(e) {
            layer.msg('复制成功');
        });
        clipboard.on('error', function(e) {
            layer.msg('复制失败');
        });
    });
})